package com.atguigu.gmall.item.client.impl;

import com.atguigu.gmall.common.result.Result;
import com.atguigu.gmall.item.client.ItemFeignClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import org.springframework.test.annotation.Commit;

/**
 * @author: atguigu
 * @create: 2023-09-02 16:30
 */
@Slf4j
@Component
public class ItemDegradeFeignClient implements ItemFeignClient {
    @Override
    public Result getSkuInfo(Long skuId) {
        log.error("[详情服务]getSkuInfo远程调用失败，服务降级");
        return null;
    }
}
